package com.hoshiicloud.goods.mapper.goods;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hoshiicloud.goods.entity.goods.GoodsBrand;
import com.hoshiicloud.goods.param.goods.GoodsReleaseSkuParam;
import com.hoshiicloud.goods.param.goods.GoodsReleaseSpuParam;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 商品品牌表 Mapper 接口
 * </p>
 *
 * @author zhangshuhu
 * @since 2019-06-04
 */
@Repository
public interface GoodsReleaseMapper {
    /**
     *  获取spu商品数据
     */
    GoodsReleaseSpuParam getNeedEditGoods(@Param("maps") Map<String, Object> map);

    /**
     *  获取sku商品数据
     */
    List<GoodsReleaseSkuParam> skuList(@Param("maps") Map<String, Object> map);

}
